package com.housekeeping.housekeeping.serviceTest.service.impl;


import com.housekeeping.housekeeping.serviceTest.dao.impl.OrderTestDaoImpl;
import com.housekeeping.housekeeping.serviceTest.entity.Orders;
import com.housekeeping.housekeeping.serviceTest.service.OrdersDetailService;

import java.sql.SQLException;

public class OrdersDetailServImpl implements OrdersDetailService {
    private OrderTestDaoImpl orderDao = new OrderTestDaoImpl();

    @Override
    public Orders getOrderContent(String id) throws SQLException {
        Orders orderContent = orderDao.getOrderContent(id);
        //数据库操作
        return orderContent;
    }
}
